package officeserver.users;

import java.io.Serializable;

/**
 * The public enum used by different classes to control the access level of the
 * user.
 * 
 * @author mramsey3
 * 
 */
public enum AccessLevel implements Serializable {

    /**
     * Enumerated states to be used for user access level control
     */
    PATIENT("patient"), DOCTOR("doctor"), NURSE("nurse"), ADMIN("admin");

    String displayLabel;

    private AccessLevel(String label) {
	displayLabel = label;
    }

    public String toString() {
	return displayLabel;
    }

}
